package com.golden.procedure.client;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.golden.procedure.clientDO.FamilyMemberDO;

@FeignClient("members-Service")
public interface FamliyClientAPI {

	@GetMapping("/api/famliy/{id}")
	public FamilyMemberDO get(Integer id);

	@GetMapping("/api/famliys/{customerId}")
	public List<FamilyMemberDO> query(Integer customerId);
}
